package com.powernode.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 描述：统计项目的返回数据对象
 * code
 * msg
 * count
 * data[]
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {

    private Integer code=0;//状态码
    private String msg="";//消息
    private Long count=0L;//数量
    private Object data;//数据

    public Result(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
